home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / VIEWEX.PAK / INPUTVW.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  55 lines

  1. // inputvw.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CInputView form view
  15.  
  16. class CInputView : public CFormView
  17. {
  18.     DECLARE_DYNCREATE(CInputView)
  19. protected:
  20.     CInputView();           // protected constructor used by dynamic creation
  21.  
  22. // Form Data
  23. public:
  24.     //{{AFX_DATA(CInputView)
  25.     enum { IDD = IDD_INPUTFORM };
  26.     CString m_strData;
  27.     int     m_iColor;
  28.     //}}AFX_DATA
  29.  
  30. // Attributes
  31. public:
  32.     CMainDoc* GetDocument()
  33.             {
  34.                 ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMainDoc)));
  35.                 return (CMainDoc*) m_pDocument;
  36.             }
  37.  
  38. // Operations
  39. public:
  40.  
  41. // Implementation
  42. protected:
  43.     virtual ~CInputView();
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CInputView)
  49.     afx_msg void OnDataChange();
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.